﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace VLXD.AdminControls
{
    public partial class index : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
        
        switch (Request.QueryString["page"])
        {
            case "user":
                PlaceHolder1.Controls.Add(LoadControl("NguoiDung.ascx"));
                break;
            case "danhmuc":
                PlaceHolder1.Controls.Add(LoadControl("DanhMuc.ascx"));
                break;
            case "sanpham":
                PlaceHolder1.Controls.Add(LoadControl("SanPham.ascx"));
                break;
            case "DatHang":
                PlaceHolder1.Controls.Add(LoadControl("DonDatHang.ascx"));
                break;
            case "lienhe":
                PlaceHolder1.Controls.Add(LoadControl("LienHe.ascx"));
                break;
            case "tintuc":
                PlaceHolder1.Controls.Add(LoadControl("TinTuc.ascx"));
                break;
            case "tongquan":
                PlaceHolder1.Controls.Add(LoadControl("TongQuan.ascx"));
                break;
            
        }
    

        }
    }
}